package com.infore.statisticsAndAlarm.entity;

import java.io.Serializable;
import javax.persistence.*;

import org.hibernate.annotations.GenericGenerator;

import java.util.Date;


/**
 * The persistent class for the HOUR_DATA_AIR database table.
 * 
 */
@Entity
@Table(name="HOUR_DATA_AIR")
@NamedQuery(name="HourDataAir.findAll", query="SELECT h FROM HourDataAir h")
public class HourDataAir implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="HOUR_ID")
	@GeneratedValue(generator = "uuidGenerator")
	@GenericGenerator(name = "uuidGenerator", strategy = "uuid") // UUID生成策略
	private String hourId;

	@Column(name="AVG_VALUE")
	private String avgValue;

	@Temporal(TemporalType.DATE)
	@Column(name="DATA_TIME")
	private Date dataTime;

	@Column(name="FACTOR_CODE")
	private String factorCode;

	@Column(name="FLAG")
	private String flag;

	@Column(name="MN")
	private String mn;

	@Column(name="STATISTICS_FLAG")
	private String statisticsFlag;

	public HourDataAir() {
	}

	public String getHourId() {
		return this.hourId;
	}

	public void setHourId(String hourId) {
		this.hourId = hourId;
	}

	public String getAvgValue() {
		return this.avgValue;
	}

	public void setAvgValue(String avgValue) {
		this.avgValue = avgValue;
	}

	public Date getDataTime() {
		return this.dataTime;
	}

	public void setDataTime(Date dataTime) {
		this.dataTime = dataTime;
	}

	public String getFactorCode() {
		return this.factorCode;
	}

	public void setFactorCode(String factorCode) {
		this.factorCode = factorCode;
	}

	public String getFlag() {
		return this.flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getMn() {
		return this.mn;
	}

	public void setMn(String mn) {
		this.mn = mn;
	}

	public String getStatisticsFlag() {
		return this.statisticsFlag;
	}

	public void setStatisticsFlag(String statisticsFlag) {
		this.statisticsFlag = statisticsFlag;
	}

}